<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
                    <li class="active"><a href="{:U('Wuyefuwu/yijianlist')}">意见报修</a></li>
                    <li><a href="{:U('Wuyefuwu/yijianadd')}">创建工单</a></li>
		</ul>
            <form class="well form-search" method="get">
                    <label for="">小区：</label>
                    <select name="xiaoquid" class="select_2" id="xq">
                        <option value="">---选择小区---</option>
                    </select> &nbsp;&nbsp;
                    <label for="">时间：</label>
                    <input type="text" name="start_time" class="js-date" value="{$formget.start_time|default=''}" style="width: 100px;" autocomplete="off" placeholder="请选择开始时间">-
                    <input type="text" class="js-date" name="end_time" value="{$formget.end_time}" style="width: 100px;" autocomplete="off" placeholder="请选择结束时间"> &nbsp; &nbsp;
                    <input type="submit" class="btn btn-primary" value="搜索">
            </form>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
                                            <th>工单标题</th>
                                            <th>住户姓名</th>
                                            <th>房号</th>
                                            <th>时间</th>
                                            <th>状态</th>
                                            <th>操作</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="info" item="vo">
					<tr>
						<td>{$vo.title}</td>
						<td>{$vo.name}</td>
						<td>{$vo.fanghao}</td>
						<td>{$vo.time}</td>
						<td>{$vo.status}</td>
                                                <td>
                                                    <a href="{:U('Wuyefuwu/yijianupdata',array('id'=>$vo['id']))}">修改</a>&nbsp;|&nbsp;
                                                    <a class='js-ajax-delete' href="{:U('Wuyefuwu/yijiandelete',array('id'=>$vo['id']))}">删除</a>
                                                </td>
						
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>